//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-02B
TN_Widget.CreateTable([['Arrival From Sweden: The Music of Abba','Crystal Grand Music Theatre','Lake Delton, WI','Saturday','5/4/2024','8:00 PM','6253704','Arrival-From-Sweden--The-Music-of-Abba-5-4-2024'],['Wisconsin Gospel Music Festival','Crystal Grand Music Theatre','Lake Delton, WI','Thursday','5/9/2024','7:00 PM','6271348','Wisconsin-Gospel-Music-Festival-5-9-2024'],['Sandi Patty','Crystal Grand Music Theatre','Lake Delton, WI','Saturday','5/11/2024','6:00 PM','6309694','Sandi-Patty-5-11-2024'],['Sammy Kershaw','Crystal Grand Music Theatre','Lake Delton, WI','Friday','6/21/2024','8:00 PM','6045654','Sammy-Kershaw-6-21-2024'],['Aaron Lewis','Crystal Grand Music Theatre','Lake Delton, WI','Friday','6/28/2024','8:00 PM','6232157','Aaron-Lewis-6-28-2024'],['Aaron Lewis','Crystal Grand Music Theatre','Lake Delton, WI','Saturday','6/29/2024','8:00 PM','6232156','Aaron-Lewis-6-29-2024'],['Terri Clark','Crystal Grand Music Theatre','Lake Delton, WI','Friday','7/26/2024','8:00 PM','6242810','Terri-Clark-7-26-2024'],['Hinder','Crystal Grand Music Theatre','Lake Delton, WI','Friday','8/2/2024','8:00 PM','6335005','Hinder-8-2-2024'],['Happy Together Tour','Crystal Grand Music Theatre','Lake Delton, WI','Saturday','8/24/2024','8:00 PM','6078640','Happy-Together-Tour-8-24-2024'],['April Wine & Sweet','Crystal Grand Music Theatre','Lake Delton, WI','Saturday','9/7/2024','8:00 PM','6281300','April-Wine---Sweet-9-7-2024'],['Clint Black','Crystal Grand Music Theatre','Lake Delton, WI','Sunday','9/8/2024','8:00 PM','6348669','Clint-Black-9-8-2024'],['The Lettermen','Crystal Grand Music Theatre','Lake Delton, WI','Saturday','9/28/2024','8:00 PM','6382237','The-Lettermen-9-28-2024'],['Stephen Pearcy','Crystal Grand Music Theatre','Lake Delton, WI','Saturday','10/5/2024','8:00 PM','6215688','Stephen-Pearcy-10-5-2024'],['Jackyl','Crystal Grand Music Theatre','Lake Delton, WI','Saturday','10/12/2024','8:00 PM','6322054','Jackyl-10-12-2024'],['The Fab Four - The Ultimate Tribute','Crystal Grand Music Theatre','Lake Delton, WI','Saturday','11/16/2024','8:00 PM','6293578','The-Fab-Four---The-Ultimate-Tribute-11-16-2024'],['Daniel O'Donnell','Crystal Grand Music Theatre','Lake Delton, WI','Sunday','11/17/2024','3:00 PM','6164716','Daniel-O-Donnell-11-17-2024'],['The Oak Ridge Boys','Crystal Grand Music Theatre','Lake Delton, WI','Saturday','12/7/2024','3:00 PM','6160283','The-Oak-Ridge-Boys-12-7-2024'],['The Oak Ridge Boys','Crystal Grand Music Theatre','Lake Delton, WI','Sunday','12/8/2024','3:00 PM','6269632','The-Oak-Ridge-Boys-12-8-2024'],['A Flock of Seagulls','Crystal Grand Music Theatre','Lake Delton, WI','Saturday','12/14/2024','8:00 PM','6398902','A-Flock-of-Seagulls-12-14-2024'],['Hinder','Crystal Grand Music Theatre','Lake Delton, WI','Friday','9/19/2070','7:30 PM','4407326','Hinder-9-19-2070']],'Crystal Grand Music Theatre','http://www.ticketnetwork.com/ticket/Crystal-Grand-Music-Theatre-events.aspx');